package indi.zhifa.recipe.bailan.framework.auth.entity.vo;
import indi.zhifa.recipe.bailan.framework.auth.entity.po.BaseAuthNodeEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class BaseDepartmentNodeVo{
    BaseAuthNodeEntity department;
    List<BaseDepartmentNodeVo> children;
    public BaseDepartmentNodeVo(BaseAuthNodeEntity pDepartmentEntity){
        department = pDepartmentEntity;
        children = new ArrayList<>();
    }
}
